package com.yunhe.springbootdemo3.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;


@Alias("post")
@Data
public class Post1 {
    private int postId;
    private String postTitle;
    private String postContent;
    private Account account;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date postDate;


}
